<h1>Listing Outlets</h1>

<table>
  <tr>
    <th>Load Box |</th>
    <th>Priority</th>
    <th></th>
    <th></th>
    <th></th>
  </tr>

<% @outlets.each do |outlet| %>
  <tr>
    <td><%= outlet.loadbox_id %></td>
    <td><%= outlet.priority %></td>
    <td><%= link_to 'Show', outlet %></td>
    <td><%= link_to 'Edit', edit_outlet_path(outlet) %></td>
    <td><%= link_to 'Destroy', outlet, confirm: 'Are you sure?', method: :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New Outlet', new_outlet_path %>
